inherited fOsInserePeca: TfOsInserePeca
  Top = 3
  Width = 446
  Height = 419
  Caption = 'Pe'#231'as'
  OldCreateOrder = True
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  inherited MMJPanel1: TMMJPanel
    Width = 438
    object lblServico: TLabel
      Left = 16
      Top = 8
      Width = 9
      Height = 13
      Caption = '...'
      Transparent = True
    end
  end
  inherited MMJPanel2: TMMJPanel
    Top = 341
    Width = 438
    inherited btnGravar: TBitBtn
      Left = 73
    end
    inherited btnIncluir: TBitBtn
      Left = 63
    end
    inherited btnCancelar: TBitBtn
      Left = 194
    end
    inherited btnExcluir: TBitBtn
      Left = 186
    end
    inherited btnProcurar: TBitBtn
      Left = -120
    end
    inherited btnSair: TBitBtn
      Left = 309
    end
  end
  object GroupBox1: TGroupBox [2]
    Left = 0
    Top = 51
    Width = 438
    Height = 290
    Align = alClient
    Caption = 'Pe'#231'as'
    Color = clSilver
    ParentColor = False
    TabOrder = 2
    object Label15: TLabel
      Left = 152
      Top = 179
      Width = 26
      Height = 13
      Caption = 'Qtde.'
    end
    object Label16: TLabel
      Left = 299
      Top = 179
      Width = 28
      Height = 13
      Caption = 'Pre'#231'o'
    end
    object Label17: TLabel
      Left = 153
      Top = 211
      Width = 36
      Height = 13
      Caption = 'Desc.%'
    end
    object Label18: TLabel
      Left = 294
      Top = 211
      Width = 34
      Height = 13
      Caption = 'Desc.$'
    end
    object Label19: TLabel
      Left = 296
      Top = 255
      Width = 24
      Height = 13
      Caption = 'Total'
    end
    object Label21: TLabel
      Left = 11
      Top = 19
      Width = 25
      Height = 13
      Caption = 'Pe'#231'a'
    end
    object Label1: TLabel
      Left = 296
      Top = 233
      Width = 129
      Height = 13
      Caption = '-------------------------------------------'
    end
    object btnNovo: TBitBtn
      Left = 352
      Top = 21
      Width = 36
      Height = 35
      TabOrder = 8
      Glyph.Data = {
        1E060000424D1E06000000000000360000002800000018000000150000000100
        180000000000E8050000120B0000120B00000000000000000000BFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF7F7F7F60302F60302F7F7F
        7FCF6760BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF7F7F7F60302FFF9790
        FF979000FFFF60302F60302FCF67607F7F7FBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF7F7F7F60302FFF
        9790FFC8CFFFC8CFFFC8CF00FFFFFFC8CF60302FCF6760CF6760CF67607F7F7F
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF7F7F7F6030
        2FFF9790FFC8CF00FFFFCFFFFFFFC8CFFFC8CFCFFFFFFFC8CFCF676060302FCF
        6760CF6760CF67607F7F7FBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        7F7F7FCF6760FFC8CF00FFFFFFC8CFFFC8CF7F7F7F7F7F7FCFFFFFFFC8CFCFFF
        FFFFC8CF60302FFF0000CF6760CF6760CF67607F7F7F7F7F7FBFBFBFBFBFBFBF
        BFBFBFBFBF7F7F7FFF9790FFC8CF00FFFFCFFFFF7F7F7F7F7F7FFFC8CF00FFFF
        FFC8CF00FFFFFFC8CFCFFFFFCF67600000FFFF0000FF00007F7F7F7F7F7F7F7F
        7F7F7F7FBFBFBFBFBFBFBFBFBFBFBFBF00FFFFFFC8CFFFC8CF7F7F7FFFC8CFCF
        FFFFFFC8CF7F7F7F7F7F7FCFFFFFCFFFFFFFC8CFCFFFFF60302F0000FFFF0000
        CF67607F7F7F7F7F7F7F7F7FBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFFFFFFFFFFF
        FFFFFFFF00FFFF7F7F7F7F7F7FCFFFFFCFFFFFCFFFFFFFC8CFCFFFFFFFC8CFCF
        6760FF97900000FFFF0000BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFFFC8CFFFFFFFFFFFFF1F201F7F7F7FCFFFFFCFFFFF7F7F7F7F7F7FCFFF
        FFFFC8CFCFFFFFFFC8CF60302FFFC8CF0000FFFF0000BFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFFFC8CFCF6760CF67601F201F7F7F7F7F7F7F
        CFFFFFCFFFFFFFC8CFCFFFFFFFC8CFCFFFFFCF6760CFFFFFFF97900000FFFF00
        00BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFCF6760FFC8CFFF9790CF
        67601F201F7F7F7F7F7F7F7F7F7F7F7F7FFFFFFFFFFFFFFFC8CFFFFFFF60302F
        CFFFFFFF97900000FFCF6760BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFCF6760FFC8
        CFFFC8CFFF9790FF9790CF67601F201F7F7F7FCFFFFFFFFFFFCFFFFFFFFFFFCF
        FFFFFFC8CFCF6760FFFFFFFFFFFFFF00000000FFCF6760BFBFBFBFBFBFBFBFBF
        CF6760FFC8CFFFC8CFFFC8CFFF9790FF9790FF9790CF67601F201F7F7F7FFFFF
        FFFFFFFFFFFFFFFFC8CFCFFFFFFFC8CFFFFFFFFFFFFFFFFFFFCF6760CF6760BF
        BFBFBFBFBFCF6760FFC8CFFFFFFFFFC8CFFFC8CFFF9790CF6760CF6760CF6760
        CF67601F201F7F7F7FFFFFFF3F3700CFFFFFCF6760FFFFFF0000FF0000FF0000
        FFCF6760BFBFBFBFBFBFBFBFBF60302F60302F60302FFFC8CFFFC8CFFF9790CF
        67601F201F1F201F1F201F1F201F1F201FFFFFFFFFFFFFFFC8CFFFFFFFFFFFFF
        FFFFFFFFC8CFCF6760BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFFFC8
        CFFFC8CFFF9790CF67601F201F60302F60302F60302F60302FFFC8CFFFC8CFFF
        FFFFFF0000FF0000CF6760BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        FF9790FFC8CFFFC8CFFFFFFFFF9790CF67601F201F60302F0000FF0000FFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFCF6760FFFFFFFFFFFFFFC8CFFF9790CF67601F201F60302F
        BFBFBFFFFFFFFFFFFFFFFFFF0000FF0000FF0000FFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFCF6760FF9790FF9790FF9790FF9790CF
        67601F201F60302FBFBFBFBFBFBFFF0000FF0000BFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFCF6760CF6760CF67
        60CF6760CF67601F201F60302F7F7F7FFFC8CFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBF}
      Layout = blGlyphRight
    end
    object BitBtn8: TBitBtn
      Left = 388
      Top = 21
      Width = 36
      Height = 35
      TabOrder = 9
      Glyph.Data = {
        36080000424D3608000000000000360400002800000020000000200000000100
        0800000000000004000000000000000000000001000000000000000000000000
        80000080000000808000800000008000800080800000C0C0C000C0DCC000F0CA
        A600D4F0FF00B1E2FF008ED4FF006BC6FF0048B8FF0025AAFF0000AAFF000092
        DC00007AB90000629600004A730000325000D4E3FF00B1C7FF008EABFF006B8F
        FF004873FF002557FF000055FF000049DC00003DB90000319600002573000019
        5000D4D4FF00B1B1FF008E8EFF006B6BFF004848FF002525FF000000FE000000
        DC000000B900000096000000730000005000E3D4FF00C7B1FF00AB8EFF008F6B
        FF007348FF005725FF005500FF004900DC003D00B90031009600250073001900
        5000F0D4FF00E2B1FF00D48EFF00C66BFF00B848FF00AA25FF00AA00FF009200
        DC007A00B900620096004A00730032005000FFD4FF00FFB1FF00FF8EFF00FF6B
        FF00FF48FF00FF25FF00FE00FE00DC00DC00B900B90096009600730073005000
        5000FFD4F000FFB1E200FF8ED400FF6BC600FF48B800FF25AA00FF00AA00DC00
        9200B9007A009600620073004A0050003200FFD4E300FFB1C700FF8EAB00FF6B
        8F00FF487300FF255700FF005500DC004900B9003D0096003100730025005000
        1900FFD4D400FFB1B100FF8E8E00FF6B6B00FF484800FF252500FE000000DC00
        0000B9000000960000007300000050000000FFE3D400FFC7B100FFAB8E00FF8F
        6B00FF734800FF572500FF550000DC490000B93D000096310000732500005019
        0000FFF0D400FFE2B100FFD48E00FFC66B00FFB84800FFAA2500FFAA0000DC92
        0000B97A000096620000734A000050320000FFFFD400FFFFB100FFFF8E00FFFF
        6B00FFFF4800FFFF2500FEFE0000DCDC0000B9B9000096960000737300005050
        0000F0FFD400E2FFB100D4FF8E00C6FF6B00B8FF4800AAFF2500AAFF000092DC
        00007AB90000629600004A73000032500000E3FFD400C7FFB100ABFF8E008FFF
        6B0073FF480057FF250055FF000049DC00003DB9000031960000257300001950
        0000D4FFD400B1FFB1008EFF8E006BFF6B0048FF480025FF250000FE000000DC
        000000B90000009600000073000000500000D4FFE300B1FFC7008EFFAB006BFF
        8F0048FF730025FF570000FF550000DC490000B93D0000963100007325000050
        1900D4FFF000B1FFE2008EFFD4006BFFC60048FFB80025FFAA0000FFAA0000DC
        920000B97A000096620000734A0000503200D4FFFF00B1FFFF008EFFFF006BFF
        FF0048FFFF0025FFFF0000FEFE0000DCDC0000B9B90000969600007373000050
        5000F2F2F200E6E6E600DADADA00CECECE00C2C2C200B6B6B600AAAAAA009E9E
        9E0092929200868686007A7A7A006E6E6E0062626200565656004A4A4A003E3E
        3E0032323200262626001A1A1A000E0E0E00F0FBFF00A4A0A000808080000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00073307070707
        0707070707070707070707070707070707070707070707333333333333070707
        0707070707070707070707070707070707070707070733333307073333330707
        0707070707070707070707070707070707070707073333330707070733333307
        ECEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFEF333333EF0707070707333333
        EBE5E5E5E5E5E5E5E5E5E5E5E5E5E5E5E5E5E5333333E5EF0707070707073333
        33E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3E3333333E3E5EF0707070707070733
        3333151515151515151515151515151515333333FFFFE5EF0707070707070707
        33333333FFFFFFFFFFFFFFFFFFFFFFFF333333FFFFFFE5EF0707070707070707
        EC33333333FFFFFFFFFFFFFFFFFFFF333333FFFFFFFFE5EF0707070707070707
        ECFF153333331515151515151515333333151515FFFFE5EF0707070707070707
        ECFFFFFF333333FFFFFFFFFFFF333333FFFFFFFFFFFFE5EF0707070707070707
        ECFFFFFFFF333333FFFFFFFF333333FFFFFFFFFFFFFFE5EF0707070707070707
        ECFFFFFFFFFF333333FFFF333333FFFFFFFFFFFFFFFFE5EF0707070707070707
        ECFF151515151533333333333315151515151515FFFFE5EF0707070707070707
        ECFFFFFFFFFFFFFF33333333FFFFFFFFFFFFFFFFFFFFE5EF0707070707070707
        ECFFFFFFFFFFFF3333333333FFFFFFFFFFFFFFFFFFFFE5EF0707070707070707
        ECFFFFFFFFFF333333FF333333FFFFFFFFFFFFFFFFFFE5EF0707070707070707
        ECFF151515333333151515333333151515151515FFFFE5EF0707070707070707
        ECFFFFFF333333FFFFFFFFFF333333FFFFFFFFFFFFFFE5EF0707070707070707
        ECFFFF333333FFFFFFFFFFFFFF333333FFFFFFFFFFFFE5EF0707070707070707
        ECFF333333FFFFFFFFFFFFFFFFFF333333FFFFFFFFFFE5EF0707070707070707
        EC33333315151515151515151515153315331515FFFFE5EF0707070707070707
        333333FFFFFFFFFFFFFFFFFFFFFFFFFF33333333E9E9ECEF0707070707070733
        3333FFFFFFFFFFFFFFFFFFFFFFFFFFFFF6EF333333F2F2F20707070707073333
        33FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF6E9FF333333EF070707070707333333
        ECFF1515151515151515151515151515F6E9E3E5333333070707070733333307
        ECFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF6E9E5E9EF3333330707073333330707
        ECFFF6F6F6F6F6F6F6F6F6F6F6F6F6F6F6E9E9EF070733333307333333070707
        ECFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE9EF07070707333333073307070707
        ECEBEBEBEBEBEBEBEBEBEBEBEBEBEBEBEBEB0707070707073333070707070707
        0707070707070707070707070707070707070707070707070707070707070707
        0707070707070707070707070707070707070707070707070707}
      Layout = blGlyphRight
    end
    object edServico: TJvMemo
      Left = 8
      Top = 66
      Width = 416
      Height = 93
      AutoSize = False
      MaxLines = 0
      HideCaret = False
      TabOrder = 7
    end
    object edQtdeServ: TJvCalcEdit
      Left = 198
      Top = 176
      Width = 80
      Height = 21
      ShowButton = False
      TabOrder = 2
      DecimalPlacesAlwaysShown = False
      OnKeyPress = FormKeyPress
    end
    object edPrecoServ: TJvCalcEdit
      Left = 344
      Top = 176
      Width = 80
      Height = 21
      DisplayFormat = ',##0.00'
      ShowButton = False
      TabOrder = 3
      DecimalPlacesAlwaysShown = False
      OnKeyPress = FormKeyPress
    end
    object edDescServ: TJvCalcEdit
      Left = 198
      Top = 208
      Width = 80
      Height = 21
      ShowButton = False
      TabOrder = 4
      DecimalPlacesAlwaysShown = False
      OnExit = edDescServExit
      OnKeyPress = FormKeyPress
    end
    object edDescVlrServ: TJvCalcEdit
      Left = 344
      Top = 208
      Width = 80
      Height = 21
      DisplayFormat = ',##0.00'
      ShowButton = False
      TabOrder = 6
      DecimalPlacesAlwaysShown = False
      OnExit = edDescVlrServExit
      OnKeyPress = FormKeyPress
    end
    object edTotalServ: TJvCalcEdit
      Left = 344
      Top = 253
      Width = 80
      Height = 21
      TabStop = False
      Color = clInactiveBorder
      DisplayFormat = ',##0.00'
      ReadOnly = True
      ShowButton = False
      TabOrder = 5
      DecimalPlacesAlwaysShown = False
    end
    object edProduto: TEdit
      Left = 9
      Top = 34
      Width = 83
      Height = 21
      TabOrder = 0
      OnExit = edProdutoExit
      OnKeyPress = edProdutoKeyPress
    end
    object BitBtn3: TBitBtn
      Left = 92
      Top = 21
      Width = 35
      Height = 35
      TabOrder = 10
      TabStop = False
      OnClick = BitBtn3Click
      Glyph.Data = {
        C2070000424DC20700000000000036000000280000001E000000150000000100
        1800000000008C070000120B0000120B00000000000000000000BFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF0000BFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF0000BFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBF0000BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF0070A01F70A01F80AF0070
        A0BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBF0000BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBF108FBF2F8FB00F0F0F0000001F4F600F7FB0
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBF0000BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBF0070A020AFDF3FCFFF50909FF0C090806F500000002F607FBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        0000BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF0F70AF
        108FC03FCFFF3FCFFF50909FFFCF9FFFCF9F4F4030101F1F2F80B0BFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF0000BFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF00609F1F9FCF3FCFFF1F9FCF3F
        CFFF4FCFFF50A0BFF0C090FFCF9FAF8F6F0000005F90B0BFBFBFBFBFBF005080
        2F80B000609FBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF0000BFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBF0F7FB02FBFEF3FCFFF3FCFFF2090C070DFFF90E0
        FFAFE0FFAF9F80FFCF9FCFA080000000508FAF00609F409FC0609FB01F1F1F1F
        30400F70A0BFBFBFBFBFBFBFBFBFBFBFBFBFBFBF0000BFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBF108FC03FCFFF40CFFF5FD0FF7FDFFF409FC0AFE0FFD0F0FFE0F0FF
        EFEFF0A09080806F50304F5F308FBF80D0F07FDFFF5F8F9F9F8060000000102F
        3F00609FBFBFBFBFBFBFBFBFBFBFBFBF0000BFBFBFBFBFBFBFBFBF0070A01080
        BF4FD0FF6FD0FF8FDFFFA0E0FFC0EFFFBFE0F05F9FC0F0FFFFF0FFFFDFF0FFBF
        E0FF5FAFCF0F90C050C0EF50D0FF3FCFFF50909FFFCF9F6F5F400000000F5F80
        BFBFBFBFBFBFBFBFBFBFBFBF0000BFBFBFBFBFBF0F7FAF30AFDF4FAFDF90E0FF
        AFEFFFCFEFFFDFF0FFEFFFFFF0FFFF2F9FC02F9FC060BFDF409FC00F8FB00070
        A000AFD030BFEF3FCFFF3FCFFF309FBFF0C090CFA0800000001F709FBFBFBFBF
        BFBFBFBFBFBFBFBF0000BFBFBFBFBFBF00609F90DFFF3F8FBFD0F0FFE0F0FFF0
        FFFFF0FFFFE0F0FFCFF0FF90D0EF1F9FCF00A0CF0090C000AFD00080B000AFD0
        20BFEF3FCFFF3FCFFF3FCFFF809080CFA0800000001F6F90BFBFBFBFBFBFBFBF
        BFBFBFBF0000BFBFBFBFBFBF00609FD0F0FF80BFD07FB0CFF0FFFFDFF0FFC0EF
        FFAFE0FF8FDFFF70DFFF50D0FF1FA0D00070AF0090C0007FAF00A0CF0F9FCF3F
        CFFF3FCFFF3FCFFF3FC0F050808000304F0070A0BFBFBFBFBFBFBFBFBFBFBFBF
        0000BFBFBFBFBFBF00609F8FBFD0D0E0F02F80AF207FAF60B0DF60BFDF60D0FF
        4FCFFF3FCFFF3FCFFF3FCFFF30C0FF1F9FD00090BF00A0CF00A0CF10A0D030C0
        FF1FAFDF1090C00070AF005080BFBFBFBFBFBFBFBFBFBFBFBFBFBFBF0000BFBF
        BFBFBFBFBFBFBF00609F00609FBFBFBFBFBFBF0F70A020A0D020A0DF20A0DF30
        C0FF3FCFFF3FCFFF3FCFFF3FCFFF30C0FF20A0DF006F9F0070A0005080BFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF0000BFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF0F7FAF20AFDF108FC01F9F
        CF109FD01090C0007FB0006F9F005080BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF0000BFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF0070A0007FAF00609FBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF0000BFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBF0000BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBF0000BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBF0000}
    end
    object edProdDescr: TEdit
      Left = 127
      Top = 34
      Width = 225
      Height = 21
      TabStop = False
      Color = clInactiveBorder
      MaxLength = 100
      TabOrder = 1
    end
  end
  inherited DtSrc: TDataSource
    DataSet = fOs.cdsPecas
    Left = 192
  end
  inherited XPMenu1: TXPMenu
    Left = 224
  end
  inherited PopupMenu1: TPopupMenu
    Left = 256
  end
  object sdsPecas1: TSQLDataSet
    CommandText = 
      'SELECT  r.ID_OS_DET, r.ID_OS, r.CODPRODUTO, r.DESCRICAO_SERV, r.' +
      'RESPONSAVEL, r.TIPO, r.QTDE, r.PRECO, r.DESCONTO, r.VALORTOTAL, ' +
      'PRO.CODPRO,'#13#10' CASE WHEN r.STATUS = '#39'O'#39' THEN '#39'Or'#231'amento'#39'  WHEN r.' +
      'STATUS = '#39'P'#39' THEN '#39'Aprovado Troca'#39'  WHEN r.STATUS = '#39'S'#39' THEN '#39'Tr' +
      'ocada'#39#13#10' WHEN r.STATUS = '#39'A'#39' THEN '#39'Aguardando Pe'#231'a'#39'   WHEN r.STA' +
      'TUS = '#39'N'#39' THEN '#39'N'#227'o Aprovado Troca'#39'   END STATUSDESC, r.STATUS, ' +
      #13#10'r.ID_OSDET_SERV'#13#10'   FROM OS_DET R , PRODUTOS PRO'#13#10'WHERE R.CODP' +
      'RODUTO     = PRO.CODPRODUTO'#13#10'      AND R.ID_OS                  ' +
      '  = :POS'#13#10'      AND R.ID_OSDET_SERV = :P_SEV'#13#10'      AND R.TIPO  ' +
      '                    = '#39'P'#39' '
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Name = 'POS'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'P_SEV'
        ParamType = ptInput
      end>
    SQLConnection = DM.sqlsisAdimin
    Left = 384
    Top = 432
  end
  object dspPecas1: TDataSetProvider
    DataSet = sdsPecas1
    Options = [poAllowCommandText]
    Left = 416
    Top = 432
  end
  object cdsPecas1: TClientDataSet
    Aggregates = <>
    Params = <
      item
        DataType = ftInteger
        Name = 'POS'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'P_SEV'
        ParamType = ptInput
      end>
    ProviderName = 'dspPecas1'
    Left = 448
    Top = 432
    object cdsPecas1ID_OS_DET: TIntegerField
      FieldName = 'ID_OS_DET'
      Required = True
    end
    object cdsPecas1ID_OS: TIntegerField
      FieldName = 'ID_OS'
      Required = True
    end
    object cdsPecas1DESCRICAO_SERV: TStringField
      FieldName = 'DESCRICAO_SERV'
      Size = 1024
    end
    object cdsPecas1RESPONSAVEL: TStringField
      FieldName = 'RESPONSAVEL'
      Size = 150
    end
    object cdsPecas1STATUS: TStringField
      FieldName = 'STATUS'
      FixedChar = True
      Size = 1
    end
    object cdsPecas1TIPO: TStringField
      FieldName = 'TIPO'
      FixedChar = True
      Size = 1
    end
    object cdsPecas1QTDE: TFloatField
      FieldName = 'QTDE'
      DisplayFormat = ',##0.0'
      EditFormat = ',##0.0'
    end
    object cdsPecas1PRECO: TFloatField
      FieldName = 'PRECO'
      DisplayFormat = ',##0.00'
      EditFormat = ',##0.00'
    end
    object cdsPecas1DESCONTO: TFloatField
      FieldName = 'DESCONTO'
      DisplayFormat = ',##0.00'
      EditFormat = ',##0.00'
    end
    object cdsPecas1VALORTOTAL: TFloatField
      FieldName = 'VALORTOTAL'
    end
    object cdsPecas1CODPRODUTO: TIntegerField
      FieldName = 'CODPRODUTO'
      Required = True
    end
    object cdsPecas1CODPRO: TStringField
      FieldName = 'CODPRO'
      Size = 15
    end
    object cdsPecas1STATUSDESC: TStringField
      FieldName = 'STATUSDESC'
      FixedChar = True
      Size = 18
    end
    object cdsPecas1ID_OSDET_SERV: TIntegerField
      FieldName = 'ID_OSDET_SERV'
    end
    object cdsPecas1VlrTotal: TAggregateField
      FieldName = 'VlrTotal'
      Active = True
      DisplayFormat = ',##0.00'
      Expression = 'SUM((PRECO*QTDE)-DESCONTO)'
    end
  end
end
